package components.clothingLayer
{
	import UIFree.uif_component;
	
	import api.clt_servers;
	
	import components.clt_previewItem;
	
	import flash.geom.Rectangle;

	public class clt_previewCloth extends clt_previewItem {
		public function clt_previewCloth(index: int, parent: uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, a_data:*=null, styleClass:String='') {
			super(index, parent, ax, ay, awidth, aheight, a_data, styleClass);
			var inner: Rectangle = getInner();
			if (a_data != null) {
				_prevImage.loadSource(clt_servers.CLOTH_URL + 'jpg_preview/i' + a_data.id + '.jpg');
			}
		}
		
	}
}